package com.bob.common.bean;

/**
 * 资源文件映射
 * \src\main\resources ===> WEB-INF
 */
public class ResourcesRef {
    /**
     * 源文件夹  //src//main//resources
     */
    private String s;

    /**
     * 项目文件打包后的路径 WEB-INF
     */
    private String p;

    public ResourcesRef(String s, String p) {
        this.s = s;
        this.p = p;
    }

    public String getS() {
        return s;
    }

    public void setS(String s) {
        this.s = s;
    }

    public String getP() {
        return p;
    }

    public void setP(String p) {
        this.p = p;
    }

    @Override
    public int hashCode() {
        return this.s.hashCode();
    }

    @Override
    public boolean equals(Object obj) {
        ResourcesRef ref = (ResourcesRef) obj;
        return this.s.equals(ref.s);
    }

}
